package com.wxx.aspect;

import org.apache.log4j.Logger;

public class LogAspect {

	private static Logger logger = Logger.getLogger(LogAspect.class);

	public void before() {

		logger.info("before进来了");
		System.out.println("before进来了");

	}

	public void after() {

		logger.info("after进来了");
		System.out.println("after进来了");

	}

	public void afterReturning() {

		logger.info("afterReturning进来了");

	}

	public void afterThrowing() {

		logger.info("afterThrowing进来了");

	}

	public void around() {

		logger.info("around进来了");

	}

}
